﻿@model IEnumerable<PC.AzureMultiApp.Core.Models.AzureCounterModel>

@{
    ViewBag.Title = "Performance Counters";
}

<h2>Performance Counters</h2>

<p>
    @Html.ActionLink("Clear ", "Clear")
</p>
<table>
    <tr>
        <th>
            Role Instance
        </th>
        <th>
            Counter
        </th>
        <th>
            Value
        </th>
        <th>
            DateTime
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.RoleInstance)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CounterName)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CounterValue)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.EventDateTime)
        </td>
    </tr>
}

</table>
